
SYSTEMC_HOME := $(PWD)/../../sc/
export LD_LIBRARY_PATH := $(SYSTEMC_HOME)/lib


SYSTEMC_CFLAGS := -I$(SYSTEMC_HOME)/include -L$(SYSTEMC_HOME)/lib -lsystemc
CFLAGS := $(SYSTEMC_CFLAGS)

run:
	g++ $(CFLAGS) count_stim.cc -o count_stim.elf
	./count_stim.elf

clean:
	rm -f *.o *.elf
